package com.coda.mapper;

import com.coda.entity.Unit;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UnitMapper {
    /**
     * 查询所有单位
     * @return
     */
    @Select("select * from unit")
    List<Unit> getUnitList();
}
